package com.example.twitternews;


import android.os.AsyncTask;

public class AsyncController extends AsyncTask<MyController, Void, String>
{
    MyController myController;

    protected String doInBackground(MyController... args)
    {
        myController = args[0];
        myController.getModel().setValue();
        return myController.getModel().getValue();
    }

    protected void onPostExecute(String str)
    {
        myController.getView().setLabel(str);
    }
}
